package com.GDOU.bean;

import org.springframework.stereotype.Component;

@Component
public class Student {
    //学生id
    private Integer stuId;
    //姓名
    private String stuName;
    //学号
    private String stuNum;
    //性别
    private String stuSex;
    //年龄
    private Integer stuAge;
    //班级id
    private Integer cId;
    //所属教师id
    private Integer teaId;
    //状态
    private String stuStatus;
    //身份证
    private String idCard;
    //电话号码
    private String phone;
    //家庭住址
    private String address;
    //密码
    private String pwd;

    public Student() {
    }

    public Student(Integer stuId, String stuName, String stuNum, String stuSex, Integer stuAge, Integer cId, Integer teaId, String stuStatus, String idCard, String phone, String address, String pwd) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.stuNum = stuNum;
        this.stuSex = stuSex;
        this.stuAge = stuAge;
        this.cId = cId;
        this.teaId = teaId;
        this.stuStatus = stuStatus;
        this.idCard = idCard;
        this.phone = phone;
        this.address = address;
        this.pwd = pwd;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuNum() {
        return stuNum;
    }

    public void setStuNum(String stuNum) {
        this.stuNum = stuNum;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public Integer getStuAge() {
        return stuAge;
    }

    public void setStuAge(Integer stuAge) {
        this.stuAge = stuAge;
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public Integer getTeaId() {
        return teaId;
    }

    public void setTeaId(Integer teaId) {
        this.teaId = teaId;
    }

    public String getStuStatus() {
        return stuStatus;
    }

    public void setStuStatus(String stuStatus) {
        this.stuStatus = stuStatus;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuId=" + stuId +
                ", stuName='" + stuName + '\'' +
                ", stuNum='" + stuNum + '\'' +
                ", stuSex='" + stuSex + '\'' +
                ", stuAge=" + stuAge +
                ", cId=" + cId +
                ", teaId=" + teaId +
                ", stuStatus='" + stuStatus + '\'' +
                ", idCard='" + idCard + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
